using System;
using System.Collections;
using System.Collections.Generic;
using System.Web.Profile;
using Commerce.Common;

// this class is in place to allow any added logic to the Property assignments

namespace CommerceForUmbraco 
{
    public class UserProfile : ProfileBase
    {

    
    public UserProfile() {}

        [SettingsAllowAnonymous(true)]
        public string FirstName
        {
            get { return (string)base["FirstName"]; }
            set { base["FirstName"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public string LastName
        {
            get { return (string)base["LastName"]; }
            set { base["LastName"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public string FullName
        {
            get { return (string)base["FullName"]; }
            set { base["FullName"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public string Email
        {
            get { return (string)base["Email"]; }
            set { base["Email"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public string Zip
        {
            get { return (string)base["Zip"]; }
            set { base["Zip "] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public Address LastShippingAddress
        {
            get { return (Address)base["LastShippingAddress"]; }
            set { base["LastShippingAddress"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public Address LastBillingAddress
        {
            get { return (Address)base["LastBillingAddress"]; }
            set { base["LastBillingAddress"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public Decimal CurrentOrderTax
        {
            get { return (Decimal)base["CurrentOrderTax"]; }
            set { base["CurrentOrderTax"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public Decimal CurrentOrderShipping
        {
            get { return (Decimal)base["CurrentOrderShipping"]; }
            set { base["CurrentOrderShipping"] = value; }
        }

        [SettingsAllowAnonymous(true)]
        public String CurrentOrderShippingMethod
        {
            get { return (String)base["CurrentOrderShippingMethod"]; }
            set { base["CurrentOrderShippingMethod"] = value; }
        }

    }
}
